package homework;

public class Homework9_21 {
    public static void main(String[] args) {
//        String s1 = "abc"+"def";
//        String s2=new String(s1);
//        if(s1.equals(s2))
//            System.out.println(".equal");
//        if(s1==s2)
//            System.out.println("==");
        String s1 = "Hello my name is bian";
        String[] res = s1.split(" ");
        for(String s:res){
            System.out.println(s);
        }
    }

}
